import Layout from "@/layout";

const adminPermission = [
  {
    path: "/home",
    component: Layout,
    children: [
      {
        path: "index",
        name: "Home",
        component: () => import("@/views/hr/Home.vue"),
        meta: { title: "Dashboard", icon: "dashboard" }
      }
    ]
  },
  {
    path: "/distribute_permission",
    component: Layout,
    children: [
      {
        path: "index",
        name: "DistributePermission",
        component: () => import("@/views/admin/DistributePermission.vue"),
        meta: { title: "分配权限", icon: "dashboard" }
      }
    ]
  },
  {
    path: "/validate_company",
    component: Layout,
    children: [
      {
        path: "index",
        name: "ValidateCompany",
        component: () => import("@/views/admin/ValidateCompany.vue"),
        meta: { title: "认证公司", icon: "dashboard" }
      }
    ]
  },
  {
    path: "/user_master",
    component: Layout,
    children: [
      {
        path: "index",
        name: "UserMaster",
        component: () => import("@/views/admin/UserMaster.vue"),
        meta: { title: "账户管理", icon: "dashboard" }
      }
    ]
  }
];
export default adminPermission